package com.axend.vetwavve.viewmodel

import androidx.lifecycle.LiveData
import androidx.lifecycle.MutableLiveData
import com.axend.lib_base.base.vm.BaseViewModel

class DeskTopViewModel: BaseViewModel() {
    /*是否连接*/
    private var _isConnect: MutableLiveData<Boolean> = MutableLiveData(true)
    val isConnect: LiveData<Boolean> get() = _isConnect


    fun setIsConnect(isConnect: Boolean) {
        launchOnUI { _isConnect.postValue(isConnect) }
    }
}